<?php

namespace Ad\Logic;

class InputClick {
    
    public function insert($data, $from) {
        $from = ucfirst($from);
        $namespaceFrom = "Ad\\Logic\\$from\\{$from}InputClick";
        $fromObj = new $namespaceFrom();

        return $fromObj->insert($data);
    }
}